/****************************************************/
/* Project Name:预约配置信息管理                             */
 
/* File Name: TdcTimesService          */
 
/* Date:2017年3月22日下午19:59:12          */
 
/* Description:预约配置信息的service的方法层           */
 /****************************************************/ 
package com.thinkgem.jeesite.modules.tdc.times.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.tdc.times.entity.TdcTimes;
import com.thinkgem.jeesite.modules.tdc.times.dao.TdcTimesDao;

/**
 * 预约配置Service
 * @author 孙瑞曦
 * @version 2017-03-27
 */
@Service
@Transactional(readOnly = true)
public class TdcTimesService extends CrudService<TdcTimesDao, TdcTimes> {

	public TdcTimes get(String id) {
		return super.get(id);
	}
	
	public List<TdcTimes> findList(TdcTimes tdcTimes) {
		return super.findList(tdcTimes);
	}
	
	public Page<TdcTimes> findPage(Page<TdcTimes> page, TdcTimes tdcTimes) {
		page.setPageSize(7);
		return super.findPage(page, tdcTimes);
	}
	
	@Transactional(readOnly = false)
	public void save(TdcTimes tdcTimes) {
		super.save(tdcTimes);
	}
	
	@Transactional(readOnly = false)
	public void delete(TdcTimes tdcTimes) {
		super.delete(tdcTimes);
	}
	
}